//
//  CNdetailsCell.h
//  BeeQuick_19
//
//  Created by 张旭峰 on 16/9/23.
//  Copyright © 2016年 CN Team. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CNdetailsModel.h"
@class CNdetailsCell;
@protocol detailsCellDelegate <NSObject>

-(void)addCountWithCell:(CNdetailsCell *)cell model:(CNdetailsModel *)model poin:(CGPoint)startPoin frame:(CGRect)frame;
-(void)descressCountWithCell:(CNdetailsCell *)cell model:(CNdetailsModel *)model;
@end
@interface CNdetailsCell : UITableViewCell
@property (strong,nonatomic) CNdetailsModel * model;
@property (weak, nonatomic) IBOutlet UIImageView *imgImageView;
@property (weak, nonatomic) IBOutlet UIImageView *pm_descImageView;

@property (weak, nonatomic) IBOutlet UIButton *reduceButton;
@property (weak, nonatomic) IBOutlet UILabel *countLabel;

//@property (weak, nonatomic) IBOutlet UILabel *reduceButton;
@property(nonatomic,assign)NSInteger  count;

@property(strong,nonatomic) id <detailsCellDelegate> delegate ;

@end
